﻿@model Smarly.Bussines.Model.Account.UpdatePassword
@{
	Layout = "~/Views/Shared/_DialogLayout.cshtml";
}

<div id="update-password">
	@using (Html.BeginForm())
	{
	<div style="width:100%; margin: 0;padding:0;text-align:center;">
		<div data-role="controlgroup" data-type="horizontal" data-mini="true">
			<a href="@Url.Action("Index", "Account")" data-role="button" data-rel="dialog" data-theme="c" class="d-to-d">Вход</a>
			<a data-role="button" data-rel="dialog" data-theme="b">Востановление</a>
		</div>
		</div>
	
		@Html.TextBoxFor(x => x.HashCode, new Dictionary<string, object> {{ "placeholder", "Хэш код в полученном письме" }, { "data-theme", "d" } }) 
		@Html.PasswordFor(x => x.Password, new Dictionary<string, object> { { "placeholder", "Пароль" }, { "data-theme", "d" } }) 
		@Html.PasswordFor(x => x.RepeatPassword, new Dictionary<string, object> { { "placeholder", "Еще раз пароль" }, { "data-theme", "d" } }) 

		<div class="clear"></div>
	
		<a class="submit" href="@Url.Action("UpdatePassword", "Account")" data-ajax="false" data-role="button" data-inline="true" data-theme="b" data-icon="check">Войти</a>
		<a data-role="button" data-inline="true" data-theme="d" data-rel="back" data-icon="delete">Отмена</a>
	
	}
</div>